﻿using project.B12.Model.Error;
using project.B12.Model.Models;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace project.B12.IService
{
    public interface ILogService
    {
        List<TableLog> PaginationCollection { get; }
        ObservableCollection<ErrCodeModel> WarnLogs { get; }
        int Count { get; set; }
        int CountPerPage { get; set; }
        int CurrentPage { get; set; }

        void Search(DateTime startData, DateTime endData, string type, string text);

        void Show();

        ErrCodeModel QueryLast();

        void LogDebug(string text);
    }
}
